import requests
from bs4 import BeautifulSoup
headers = {
    'User-Agent':
    'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0'
}
r = requests.get("https://book.douban.com/subject/34815132/comments/",
                 headers=headers)
soup = BeautifulSoup(r.text, 'lxml')
pattern = soup.find_all('p', 'comment-content')
for item in pattern:
    print(item.text)
